-
Home
-
Dropp for WooCommerce
-
2.1.5
-
Code
-
Classes
- Shipping_Method
Total Complexity |
52 |
Dependencies |
7 |
Dependents |
7 |
Total lines |
443 |
Lines of code |
263 |
Logical lines of code |
126 |
Comment lines |
112 |
Methods |
16 |
Properties |
7 |
Methods 16
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
is_available() |
A |
51 |
11 |
23 |
evaluate_cost() |
A |
47 |
10 |
34 |
init_instance_form_fields() |
A |
43 |
7 |
50 |
validate_postcode() |
A |
51 |
8 |
25 |
init() |
S |
57 |
3 |
16 |
init_cost_tiers() |
S |
59 |
2 |
16 |
calculate_shipping() |
S |
58 |
2 |
15 |
generate_dropp_warning_html() |
S |
53 |
1 |
25 |
get_additional_form_fields() |
S |
54 |
1 |
23 |
__construct() |
S |
60 |
1 |
14 |
set_instance_option() |
S |
80 |
1 |
3 |
save_instance_settings() |
S |
76 |
1 |
3 |
get_code() |
S |
82 |
1 |
3 |
get_pricetype() |
S |
74 |
1 |
4 |
sanitize_cost() |
S |
70 |
1 |
6 |
get_cost_tiers() |
S |
82 |
1 |
3 |